home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: undergrad.math.uwaterloo.ca!sckettle
- From: sckettle@undergrad.math.uwaterloo.ca (Steve Kettle)
- Subject: object construction
- Sender: news@undergrad.math.uwaterloo.ca (news spool owner)
- Message-ID: <Dq6GyF.8AI@undergrad.math.uwaterloo.ca>
- Date: Sat, 20 Apr 1996 20:30:15 GMT
- Nntp-Posting-Host: noether.math.uwaterloo.ca
- Organization: University of Waterloo
-
- Hi suppose that the memory for an object has been allocated but the
- constructor has not been called on that memory. Is is still defined
- behaviour to call member functions of that object even though the
- constructor has not been called yet ?
-
- Second question is suppose you have a class with a default constructor and
- only built in types for members. Is it possible that calling the default
- constructor will change any of these values - after they have had their
- intial values set when they were allocated.
-
- --
-